package com.help10000.rms.weights;

import android.text.Editable;
import android.text.TextWatcher;

public abstract  class EdiTextChangeListener implements TextWatcher {
    @Override
    public void beforeTextChanged(CharSequence s, int start, int count, int after) {

    }

    @Override
    public void onTextChanged(CharSequence s, int start, int before, int count) {

    }

    @Override
    public void afterTextChanged(Editable s) {
        String trim = s.toString().trim();
        showText(trim);
    }

  public   abstract  void showText(String text);
}
